package cn.edu.neusoft.yuejian12.Model;

import android.content.SharedPreferences;

import cn.edu.neusoft.yuejian12.Config.Config;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/**
 * Created by 木子李 on 2017/10/24.
 */

public class Model {
    private static SharedPreferences sharedPreferences;
    private static Retrofit retrofit;

    public static  Retrofit getConn( )
    {
        retrofit=new Retrofit.Builder().addConverterFactory(GsonConverterFactory.create()).baseUrl(Config.URL).build();
        return retrofit;
    }
}
